[INFO] cloning repository https://github.com/Live4dreamCH/leetcode_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Live4dreamCH/leetcode_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLive4dreamCH%2Fleetcode_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLive4dreamCH%2Fleetcode_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5ff7cf81fab53729991ad1652f701d2f17ea72f8
[INFO] checking Live4dreamCH/leetcode_rs against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLive4dreamCH%2Fleetcode_rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Live4dreamCH/leetcode_rs on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Live4dreamCH/leetcode_rs
[INFO] finished tweaking git repo https://github.com/Live4dreamCH/leetcode_rs
[INFO] tweaked toml for git repo https://github.com/Live4dreamCH/leetcode_rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Live4dreamCH/leetcode_rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6a56e546021f4877935b0601c9b0021aaf81f9948c5f98a8d35aee82507b6167
[INFO] running `Command { std: "docker" "start" "-a" "6a56e546021f4877935b0601c9b0021aaf81f9948c5f98a8d35aee82507b6167", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a56e546021f4877935b0601c9b0021aaf81f9948c5f98a8d35aee82507b6167", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a56e546021f4877935b0601c9b0021aaf81f9948c5f98a8d35aee82507b6167", kill_on_drop: false }`
[INFO] [stdout] 6a56e546021f4877935b0601c9b0021aaf81f9948c5f98a8d35aee82507b6167
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6922bd47ac24168125833eecc9f8e3009d25bf9023d9700054fa0ff76a3cb360
[INFO] running `Command { std: "docker" "start" "-a" "6922bd47ac24168125833eecc9f8e3009d25bf9023d9700054fa0ff76a3cb360", kill_on_drop: false }`
[INFO] [stderr]     Checking leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]    --> src/bin/lc1825.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 |     use std::collections::HashMap;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/bin/lc1096.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |         let mut tokenizer = Lexer::from(expression.as_bytes().iter());
[INFO] [stdout]   |             ----^^^^^^^^^
[INFO] [stdout]   |             |
[INFO] [stdout]   |             help: remove this `mut`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/lc1096.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let mut root = self.expr(lexer)?;
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexer`
[INFO] [stdout]    --> src/bin/lc1096.rs:113:20
[INFO] [stdout]     |
[INFO] [stdout] 113 |     fn expr(&self, lexer: &mut Lexer) -> Result<ParseTreeNode, String> {
[INFO] [stdout]     |                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/lc1096.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let mut node = ParseTreeNode {
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexer`
[INFO] [stdout]    --> src/bin/lc1096.rs:125:21
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn union(&self, lexer: &mut Lexer) -> Result<ParseTreeNode, String> {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lexer`
[INFO] [stdout]    --> src/bin/lc1096.rs:130:22
[INFO] [stdout]     |
[INFO] [stdout] 130 |     fn concat(&self, lexer: &mut Lexer) -> Result<ParseTreeNode, String> {
[INFO] [stdout]     |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_lexer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Union`, `Concat`, and `Id` are never constructed
[INFO] [stdout]   --> src/bin/lc1096.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | enum Symbol {
[INFO] [stdout]    |      ------ variants in this enum
[INFO] [stdout] 74 |     Expr,
[INFO] [stdout] 75 |     Union,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 76 |     Concat,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 77 |     Id(String),
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `curr` and `children` are never read
[INFO] [stdout]   --> src/bin/lc1096.rs:82:5
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub struct ParseTreeNode {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 82 |     curr: Symbol,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 83 |     children: Vec<Symbol>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/lc1487.rs:40:53
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 name_times_map.insert(name.clone(), 1);
[INFO] [stdout]    |                                ------               ^ expected `(HashSet<usize>, usize)`, found integer
[INFO] [stdout]    |                                |
[INFO] [stdout]    |                                arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(HashSet<usize>, usize)`
[INFO] [stdout]                found type `{integer}`
[INFO] [stdout] help: the return type of this call is `{integer}` due to the type of the argument passed
[INFO] [stdout]   --> src/bin/lc1487.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 name_times_map.insert(name.clone(), 1);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^
[INFO] [stdout]    |                                                     |
[INFO] [stdout]    |                                                     this argument influences the return type of `insert`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/9610dfe5a9a731ced1ea4923ecbd0c57fe367898/library/std/src/collections/hash/map.rs:1103:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MonoStack` is never constructed
[INFO] [stdout]  --> src/bin/algo/mono_stack.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct MonoStack<'a, T: Ord> {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push_once`, `push`, `pop`, and `top` are never used
[INFO] [stdout]   --> src/bin/algo/mono_stack.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl<'a, T: Ord> MonoStack<'a, T> {
[INFO] [stdout]    | --------------------------------- associated items in this implementation
[INFO] [stdout] 21 |     pub fn new(array: &Vec<T>, order: Ordering, strict: bool) -> MonoStack<T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn push_once(&mut self, item: usize) -> Result<Option<usize>, usize> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn push(&mut self, item: usize) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn pop(&mut self) -> Option<usize> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn top(&self) -> Option<&usize> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `root` is never read
[INFO] [stdout]   --> src/bin/lc1096.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub struct ParseTree {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 87 |     root: ParseTreeNode,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `visited_path` is never read
[INFO] [stdout]   --> src/bin/lc1096.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub struct RecursiveDecent {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 98 |     visited_path: VecDeque<(Symbol, bool)>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `union` and `concat` are never used
[INFO] [stdout]    --> src/bin/lc1096.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl RecursiveDecent {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 125 |     fn union(&self, lexer: &mut Lexer) -> Result<ParseTreeNode, String> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     fn concat(&self, lexer: &mut Lexer) -> Result<ParseTreeNode, String> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `(HashSet<usize>, usize)` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/bin/lc1487.rs:44:74
[INFO] [stdout]    |
[INFO] [stdout] 44 |             let actual_name = name.clone() + "(" + &name_times_map[name].to_string() + ")";
[INFO] [stdout]    |                                                                          ^^^^^^^^^ `(HashSet<usize>, usize)` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `(HashSet<usize>, usize): std::fmt::Display`
[INFO] [stdout]            which is required by `(HashSet<usize>, usize): ToString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `(HashSet<usize>, usize)`
[INFO] [stdout]   --> src/bin/lc1487.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |             *name_times_map.get_mut(name).unwrap() += 1;
[INFO] [stdout]    |             --------------------------------------^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             cannot use `+=` on type `(HashSet<usize>, usize)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/bin/lc1487.rs:47:58
[INFO] [stdout]    |
[INFO] [stdout] 47 |             *name_times_map.entry(actual_name).or_insert(0) += 1;
[INFO] [stdout]    |                                                --------- ^ expected `(HashSet<usize>, usize)`, found integer
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected tuple `(HashSet<usize>, usize)`
[INFO] [stdout]                found type `{integer}`
[INFO] [stdout] help: the return type of this call is `{integer}` due to the type of the argument passed
[INFO] [stdout]   --> src/bin/lc1487.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |             *name_times_map.entry(actual_name).or_insert(0) += 1;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-^
[INFO] [stdout]    |                                                          |
[INFO] [stdout]    |                                                          this argument influences the return type of `or_insert`
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/9610dfe5a9a731ced1ea4923ecbd0c57fe367898/library/std/src/collections/hash/map.rs:2531:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `(HashSet<usize>, usize)`
[INFO] [stdout]   --> src/bin/lc1487.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             *name_times_map.entry(actual_name).or_insert(0) += 1;
[INFO] [stdout]    |             -----------------------------------------------^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             cannot use `+=` on type `(HashSet<usize>, usize)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0368, E0599.
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `leetcode` (bin "lc1487") due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "6922bd47ac24168125833eecc9f8e3009d25bf9023d9700054fa0ff76a3cb360", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6922bd47ac24168125833eecc9f8e3009d25bf9023d9700054fa0ff76a3cb360", kill_on_drop: false }`
[INFO] [stdout] 6922bd47ac24168125833eecc9f8e3009d25bf9023d9700054fa0ff76a3cb360
